from flask import Flask
from flask_migrate import Migrate
from .exts_sqlalchemy import db
from applications.models import UserModel

migrate = Migrate()


def init_migrate(app: Flask):
    migrate.init_app(app, db)
